package com.rykj.energy.task.manage.vo;

import com.rykj.energy.common.dto.CameraDto;
import com.rykj.energy.database.pojo.BasicCamera;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("视频分析任务对象")
@Data
public class TaskInfoDto implements Serializable {
    private static final long serialVersionUID = 6034745011505642436L;

    @ApiModelProperty(value = "redis键值")
    private String redis_key="";

    @ApiModelProperty(value = "所属算法ID")
    private String flow_id="";

    @ApiModelProperty(value = "任务内容")
    private String task_content="";

    @ApiModelProperty(value = "任务类型")
    private String task_code="";

    @ApiModelProperty(value = "摄像头ID")
    private String camera_id="";

    @ApiModelProperty(value = "区域ID")
    private Integer org_id=0;

    @ApiModelProperty(value = "任务优先级")
    private Integer priority=1;

    @ApiModelProperty(value = "定时开始时间")
    private String cron_start="0";

    @ApiModelProperty(value = "定时结束时间")
    private String cron_stop=String.valueOf(Long.MAX_VALUE);

    @ApiModelProperty(value = "绑定容器ID")
    private String container_id="";

    @ApiModelProperty(value = "最近执行时间")
    private long last_exe=0;

    @ApiModelProperty(value = "状态锁")
    private long lock_at=0;

    @ApiModelProperty(value = "版本号")
    private long version_time=0;

    @ApiModelProperty(value = "摄像头详情")
    private BasicCamera basicCamera;

}
